package com.label.Model.Query;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.label.Model.Common.Validation.Del;
import com.label.Model.Common.Validation.Get;
import com.label.Model.Common.Validation.Update;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.util.Date;
import java.util.List;

@Data
public class JobQuery {

    @NotNull(message = "ID不为空！",groups = {Get.class, Update.class, Del.class})
    private Long id;

    private String name;

    private String state;

    private String result;

    private String creator;

    private Date time;

    private String dim;

    private String strategyId;

    private Long personsId;

    private String jobType;

    private List<String> states;
}
